package com.tiezhu.springdemo.mapper;

import com.tiezhu.springdemo.bean.FeedHistory;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
public interface HistoryMapper {

    List<FeedHistory> queryHistoryByOwnerName(String ownerName);

    int addHistory(FeedHistory feedHistory);

    List<FeedHistory> queryHistoryToday(String feed_time,String owner_name);

    int updateHistory(FeedHistory feedHistory);
}
